package com.alienlab.utils;


import java.util.Properties;

public class NewsLoadProcess {
	private Properties propertyConfig = new PropertyConfig("jdbc.properties").getProperties();
	private String dummy_path=  propertyConfig.getProperty("dummy-path");
	public void getResult(String url,String i,long time_now){
		String today = NowTime.getNowTime("yyyy-MM-dd"); 
		String getpath = ""+dummy_path+"";
		getpath = getpath.replace("\\", "\\\\");
		System.out.println(i);
		HttpDownload.download(url,""+getpath+"\\"+today+"\\"+today+"-"+time_now+"-"+i+".pdf");
    }
}
